<?php

namespace Part06_DecorationMode\Code1;


class Person
{
    private $name;

    public function __construct($name)
    {
        $this->name = $name;
    }

    public function wearTShirts()
    {
        echo "穿了大T恤\n";
    }

    public function wearBigTrouser()
    {
        echo "穿了垮裤\n";
    }

    public function wearSneakers()
    {
        echo "穿了破球鞋\n";
    }

    public function wearSuit()
    {
        echo "穿了西装\n";
    }

    public function wearTie()
    {
        echo "穿了领带\n";
    }

    public function wearLeatherShoes()
    {
        echo "穿了皮鞋\n";
    }

    public function show()
    {
        echo '装扮的' . $this->name;
    }
}